@import '../../assets/border.styl';
@import '../../assets/ellipsis.styl';

.container {
  height: 100%;

  .van-nav-bar__content {
    background-color: red;
  }

  .desc_header {
    div {
      font-size: 0.15rem;

      span {
        font-size: 0.23rem;
        font-weight: normal;
        position: absolute;
        top: 0.05rem;
        left: 0.1rem;
      }
    }
  }

  .good_desc {
    height: 100%;
    overflow-y: scroll;
    background-color: #fff;

    .good_top {
      padding: 0.1rem 0.12rem;
  
      .good_img {
        text-align: center;
      }

      .good_title {
        margin: 0.3rem 0 0.1rem 0;

        h2 {
          .goodchose {
            color: #e62828;
            font-size: 0.14rem;
            background-color: #ffedeb;
            padding: 0.01rem 0.02rem;
            border-radius: 0.02rem;
            margin-right: 0.03rem;
          }

          .good_tit {
            font-size: 0.17rem;
            font-weight: 500;
          }
        }

        .good_pri {
          margin-top: 0.1rem;

          .g_pri {
            font-size: 0.2rem;
            font-weight: 600;
            color: #e62828;

            i {
              font-weight: normal;
              font-size: 0.16rem;
            }
          }

          .g_pri2 {
            font-size: 0.16rem;
            color: #999999;

            s {
              text-decoration: line-through;
            }
          }
        }
      }

      .good_param {
        border-radius: 0.1rem;
        width: 100%;
        background-color: #f9f9f9;
        padding: 0.16rem 0.14rem;

        p {
          margin-bottom: 0.14rem;
          color: #999999;

          span {
            color: black;
            margin-left: 0.15rem;
            font-size: 0.14rem;
          }

          .comm {
            font-size: 0.12rem;
            color: red;
            line-height: 1;
            border-radius: 0.04rem;
            padding: 0 0.03rem;
            border: 1px solid red;
          }
        }

        .g_order {
          position: relative;

          .g_sc {
            position: absolute;
            right: 0;
          }
        }
      }

      .good_dec {
        margin-top: 0.2rem;

        p {
          margin-bottom: 0.2rem;
          font-size: 0.17rem;
        }

        .g_li {
          li {
            color: #999999;
            font-size: 0.13rem;

            span {
              font-size: 0.13rem;
              color: black;
            }
          }
        }
      }
    }
  }

  .line {
    width: 100%;
    height: 0.1rem;
    background-color: #eee;
  }

  .low_pri {
    width: 100%;
    padding: 0.1rem 0.12rem 0.2rem;

    p {
      margin-bottom: 0.1rem;
      font-size: 0.16rem;

      span {
        font-size: 0.13rem;
        color: #D0D0D0;
      }
    }

    #pri {
      border-radius: 0.05rem;
      width: 2.6rem;
      height: 0.5rem;
      margin-right: -0.05rem;
      border: none;
    }

    button {
      border-radius: 0.08rem;
      width: 0.85rem;
      height: 0.5rem;
      background-color: #eee;
      border: none;
      color: white;
    }

    .discount {
      margin-top: 0.15rem;

      p {
        font-size: 0.15rem;
        color: #B3B3B3;
      }

      ul {
        display: flex;

        li {
          text-align: center;
          line-height: 0.3rem;
          margin-right: 0.1rem;
          width: 2rem;
          height: 0.3rem;
          background-color: #F9F9F9;
          border-radius: 0.05rem;
        }
      }
    }
  }

  .other {
    background: url('../../assets/img/titleBg.png') no-repeat top, url('../../assets/img/footerBg.png') no-repeat bottom;
    background-size: 100% 0.35rem;
    padding: 0.06rem 0.12rem;

    h2 {
      font-size: 0.17rem;
      font-weight: 500;
      margin-bottom: 0.17rem;
    }

    ul {
      li {
        display: flex;
        padding-bottom: 0.1rem;
        margin-top: 0.1rem;
        border-bottom: 1px solid #eee;

        .other_info {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin-left: 0.1rem;

          .o_title {
            ellipsis(100%, 2);
          }
        }

        .other_pri {
          position: relative;
          width: 100%;
          height: 0.7rem;
          background: url('../../assets/img/price.png') no-repeat;
          background-size: 100% 0.63rem;

          .pri_1, .pri_2 {
            position: absolute;
            color: white;
          }

          .pri_1 {
            p {
              line-height: 1;
              font-size: 0.14rem;
              font-weight: 600;
            }

            top: 0.25rem;
            left: 0.2rem;
          }

          .pri_2 {
            text-align: center;
            right: 0.6rem;
            top: 0.2rem;
            line-height: 1;
            font-size: 0.14rem;
            font-weight: 600;
          }

          img {
            position: absolute;
            right: 0;
            top: 0.12rem;
          }
        }
      }
    }

    .o_footer {
      margin-top: 0.15rem;
      text-align: center;
      color: #E62828;
    }
  }
  .g_comm{
    padding .2rem .1rem .1rem
    h1{
      font-size .17rem
      font-weight normal
      margin-bottom .13rem
    }
    ul{
      li{
        margin-top .2rem
        display flex
        width 100%
        height 100%
        padding-bottom .2rem
        border-bottom 1px solid #eee
        .userImg{
         img{
            border-radius .2rem
         }
        }
        .u_comm{
          width 100%
          margin-left .12rem
          p{
            font-size .13rem
            display flex
            justify-content space-between
            .u-time{
              font-size .12rem
              color #eee
            }
          }
          .pm{
            font-weight bold
            margin-bottom .1rem
          }
        }
      }
    }
     .comm_all{
        width 100%
        height .6rem
        border-bottom 1px solid #eee
        p{
          font-size .16rem
          line-height .6rem
        }
      }
  }
}